<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>

<jsp:include page="/static/common/common_header.jsp"/>

<script type="text/javascript" src="/static/js/customer/pool_customer.js"></script>
<html>
<head>
    <title>资源池客户界面</title>
</head>
<body>
<table id="customer_datagrid"></table>
<div id="customer_toolbar">
    <a class="easyui-linkbutton" iconCls="icon-edit" plain="true"   data-cmd="edit">修改信息</a>
    <a class="easyui-linkbutton" iconCls="icon-add" plain="true"   data-cmd="absorb">吸纳</a>
    <br>
    &nbsp;&nbsp;
    创建日期:
    <input name="beginDate" type= "text" class= "easyui-datebox" style="width: 110px"> </input>
    ~
    <input name="endDate" type= "text" class= "easyui-datebox" style="width: 110px"> </input>

    精确搜索:
    <input name="idNo" class="easyui-textbox" data-options="prompt:'身份证号'" style="width:120px">
    <input name="tel" class="easyui-textbox" data-options="prompt:'电话'" style="width:100px">
    &nbsp;&nbsp;&nbsp;
    模糊搜索:

    <input name="keyword" class="easyui-textbox" data-options="prompt:'客户姓名/身份证/邮箱'" style="width:140px">

    <a class="easyui-linkbutton" data-options="iconCls:'icon-search'" onclick="mysearch()">搜索</a>
    &nbsp;&nbsp;
    <a class="easyui-linkbutton" iconCls="icon-reload"   data-cmd="reload">刷新</a>
</div>

<div id="customer_dialog">
    <form id="customer_form" method="post">
        <input type="hidden" name="id"/>
        <table id="yy" align="center" style="margin-top:15px">
            <tr>
                <td width="32"></td>
                <td>姓名:</td>
                <td>
                    <input class="easyui-textbox" name="name"/>
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>性别:</td>
                <td>
                    <select name="gender" class="easyui-combobox"
                            data-options="panelHeight:'auto',width:'80px',valueField:'value', textField:'text'
                                            ">
                        <option value="1">男</option>
                        <option value="0">女</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>年龄:</td>
                <td>
                    <input class="easyui-textbox" name="age" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>电话:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="tel" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>邮箱:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="email" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>地址:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="address" />

                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>QQ:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="qq" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>微信:</td>
                <td>
                    <input type="text" class="easyui-textbox" name="wechat" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>职业:</td>
                <td>
                    <input class="easyui-combobox" name="job.name"
                           data-options="panelHeight:'auto',valueField:'name',textField:'name',url:'/dictionary/selectDetailsByDicId?id=1'" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>身份证号:</td>
                <td>
                    <input class="easyui-textbox" name="idNo" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>客户来源:</td>
                <td>
                    <input class="easyui-combobox" name="source.name"
                           data-options="panelHeight:'auto',valueField:'name',textField:'name',url:'/dictionary/selectDetailsByDicId?id=3'" />
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>收入水平:</td>
                <td>
                    <input class="easyui-combobox" name="salaryLevel.name"
                           data-options="panelHeight:'auto',valueField:'name',textField:'name',url:'/dictionary/selectDetailsByDicId?id=2'" />
                </td>
            </tr>
        </table>
    </form>

</div>
<div id="customer_btns" style="text-align: center">
    <a class="easyui-linkbutton" iconCls="icon-save" plain="true"   data-cmd="save">保存</a>
    <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true"   data-cmd="cancel">取消</a>
</div>
</body>
</html>
